package com.woniuxy.dao;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.woniuxy.entity.User;

import org.apache.ibatis.annotations.Mapper;


public interface UserDao {
    User selectByAccount(String account);

    int registerUser(User user);

    List<User> selectAllByMemberid();

    int addRoles(@Param("uid")int id,@Param("roles")int[] roles);


}
